/**
 * 
 */
package com.ccjq.shosestore.shoppingcart.model;

import java.io.Serializable;

/**
 * 持久层模型：展示购物车商品的相关信息
 * @author
 * */
public class ShowCartModel implements Serializable {

	private static final long serialVersionUID = -1885142493478447246L;
	
	private String imgpath;//商品图片路径
	private String description;//商品描述信息
	private int quantity;//商品数量
	private double price;//商品价格
	private double total;//商品总计
	/*
	 * 下面两个属性不作为页面展示信息出现
	 * */
	private String shoppingCartId;//商品在购物车表中对应的购物车ID
	private String productId;//商品ID
	public String getImgpath() {
		return imgpath;
	}
	public void setImgpath(String imgpath) {
		this.imgpath = imgpath;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getTotal() {
		return total;
	}
	public void setTotal(double total) {
		this.total = total;
	}
	public String getShoppingCartId() {
		return shoppingCartId;
	}
	public void setShoppingCartId(String shoppingCartId) {
		this.shoppingCartId = shoppingCartId;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
	
}
